<? 
	ob_start();
	$mal=$_REQUEST["lopid"]; 
	require("admin/connect.php");
	$tenlbv=$_POST["tencm"];
	$nguoidang=$_POST["nguoidang"];						
	$sql="insert into loaibaiviet(tenlbv,nguoidang) values('{$tenlbv}','{$nguoidang}')";	
	mysql_query("$sql") or die("Error!");
	mysql_close();
	header("Location:vietbai.php?mal=$mal");		
?>